package com.hsc.educenter.service;

import com.hsc.educenter.entity.UcenterMember;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hsc.educenter.entity.vo.RegisterVo;

/**
 * <p>
 * 会员表 服务类
 * </p>
 *
 * @author testjava
 * @since 2022-10-17
 */
public interface UcenterMemberService extends IService<UcenterMember> {
    /**
     * 登录方法
     * @param member 登录用户信息 包含手机号和密码
     * @return
     */
    String login(UcenterMember member);

    /**
     * 注册方法
     * @param registerVo
     */
    void register(RegisterVo registerVo);

    /**
     * 根据openid判断，
     * @param openid 微信对用户的唯一识别名称openid
     * @return
     */
    UcenterMember getOpenIdMember(String openid);

    Integer countRegisterDay(String day);
}
